package com.mit.wx.wx.dto;

import com.mit.wx.util.xml.CDataConverter;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 郭文梁
 * <p>${DATE} ${TIME} Create by 郭文梁</p>
 * <p>FOR: </p>
 */
@EqualsAndHashCode(callSuper = true)
@Data
@XStreamAlias("xml")
public class TargetTextMessage extends TargetMessage {
    public TargetTextMessage() {
        this.setMsgType(WxMessages.TYPE_TEXT);
    }

    @XStreamAlias("Content")
    @XStreamConverter(CDataConverter.class)
    private String content;
}
